package com.wecan.base.metadata;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author liuzhihao
 * @Date 2022.01.21
 * @Version ${version}
 * @Description ${description}
 */

@Data
public class PermissionTree {

    private Integer mark;

    private String name;

    private Integer parentMark;

    private Integer type;

    private boolean hasChildren;

    // 子权限列表
    private List<PermissionTree> children = new ArrayList<>();
}
